﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VMDS.Business.Processes;

namespace VMDS.GUIClient.ViewModels
{
   class ProductVersionDisplay:BaseViewModel
    {
        private string _ver;
        public string Version
        {
            get { return _ver; }
            set { _ver = value;OnPropertyChanged(()=>Version); }
        }
        
        public ProductVersionDisplay()
        {
            SoftWare soft=new SoftWare(){Productname = "VMDS"};
            soft.Update();
            Version = "Версия "+soft.ProductVersion;
        }
    }
}
